#include "View.hpp"

View::View()
{
	// Init QT elements
	mainWindow = new QWidget();
	test1	= new QLabel(QApplication::translate("test1", "Test 1"));
	test2	= new QLabel(QApplication::translate("test2", "Test 2"));
	test3	= new QLabel(QApplication::translate("test3", "Test 3"));
	mainLayout = new QGridLayout();
	
	// Build layout
	mainLayout->addWidget(test1, 0, 0);
	mainLayout->addWidget(test2, 0, 1);
	mainLayout->addWidget(test3, 0, 2);
	mainWindow->setLayout(mainLayout);
	
	// Display
	mainWindow->show();
}